package com.wgy.day20.发红包练习;

public class RedPackage {

   private String ownerName; //设置群主的名字

    private OpenMode openWay;//设置红包的类型 平均/随机

    private int totalMoney;
    private int  totalCount;



    public RedPackage() {
    }

    public RedPackage(String ownerName, OpenMode openWay) {
        this.ownerName = ownerName;
        this.openWay = openWay;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public OpenMode getOpenWay() {
        return openWay;
    }

    public void setOpenWay(OpenMode openWay) {
        this.openWay = openWay;
    }
}
